<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Get request body as stream</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.http-date.html">http_date</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.http-get-request-body.html">http_get_request_body</a></div>
 <div class="up"><a href="ref.http.html">HTTP 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.http-get-request-body-stream" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">http_get_request_body_stream</h1>
  <p class="verinfo">(PECL pecl_http &gt;= 0.22.0)</p><p class="refpurpose"><span class="refname">http_get_request_body_stream</span> &mdash; <span class="dc-title">Get request body as stream</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.http-get-request-body-stream-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">resource</span> <span class="methodname"><strong>http_get_request_body_stream</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Create a stream to read the raw request body (e.g. POST or PUT data).
  </p>
  <p class="para">
   This function can only be used once if the request method was another than POST.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.http-get-request-body-stream-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.http-get-request-body-stream-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the raw request body as stream on success or <strong><code>NULL</code></strong> on failure.
  </p>
 </div>


 


 


 


 <div class="refsect1 seealso" id="refsect1-function.http-get-request-body-stream-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.http-get-request-body.html" class="function" rel="rdfs-seeAlso">http_get_request_body()</a> - Get request body as string</span></li>
    <li class="member"><span class="function"><a href="function.http-get-request-headers.html" class="function" rel="rdfs-seeAlso">http_get_request_headers()</a> - Get request headers as array</span></li>
    <li class="member">如使用 PHP 5.1.0 及以后版本中为
<a href="class.httpresponse.html" class="link">
<a href="class.httpresponse.html" class="classname">HttpResponse</a></a> 类。</li>
   </ul>
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.http-date.html">http_date</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.http-get-request-body.html">http_get_request_body</a></div>
 <div class="up"><a href="ref.http.html">HTTP 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
